class CQB_ui_control {
	idd = 24387;
	movingEnable = 0;
	enableSimulation = 1;
	onLoad = "[_this] spawn CQB_fnc_dlgInit";

	class controls {
		class Background : CUI_Frame {
			y = CUI_Row_Y(0);
			h = CUI_Row_DY(0,9);
			w = CUI_Box_W;
		};
		class CQBInterfaceCaption : CUI_Caption {
			text = $STR_CQB_DLG_TITLE;
			y = CUI_Row_Y(0);
			w = CUI_Box_W;
		};
		
		class CurrentTimeCaption : CUI_Caption {
			idc = 1;
			text = "";
			y = CUI_Row_Y(2);
			w = CUI_Box_W;
		};
		
		class RepopTargets : CUI_Button {
			idc=2;
			text = $STR_CQB_DLG_REPOP_TARGETS;
			y = CUI_Row_Y(4);
			w = CUI_Box_W;
			action = "[] call CQB_fnc_dlgRepopTargets";
		};
		
		class ResetTargets : CUI_Button {
			text = $STR_CQB_DLG_RESET_TARGETS;
			y = CUI_Row_Y(5);
			w = CUI_Box_W;
			action = "[] call CQB_fnc_dlgResetTargets";
		};

		class ResetScores : CUI_Button {
			text = $STR_CQB_DLG_RESET_SCORES;
			w = CUI_Box_W;
			y = CUI_Row_Y(6);
			action = "[] call CQB_fnc_dlgResetScores";
		};

		class SkipTime : CUI_Button {
			text = $STR_CQB_DLG_SKIP_TIME;
			w = CUI_Box_W;
			y = CUI_Row_Y(7);
			action = "[] call CQB_fnc_dlgSkipTime";
		};

		class Close : CUI_Button {
			text = $STR_CQB_DLG_CLOSE;
			w = CUI_Box_W;
			y = CUI_Row_Y(9);
			action = "closeDialog 0;";
		};
	};
};